package com.data.common.constant;

/**
 * @Description: Websocket常量类
 * @author: data-boot
 * @date: 2020年03月23日
 */
public class WebsocketConst {


    /**
     * 消息json key:cmd
     */
    public static final String MSG_CMD = "cmd";
    public static final String AI_TYE = "type";
    public static final String AI_DATA = "data";
    public static final String AI_COMMAND = "command";
    public static final String AI_RUN = "run";
    public static final String AI_SAVE = "save";
    public static final String AI_STOP = "stop";
    public static final String AI_RERUN = "rerun";
    public static final String AI_STOPALL = "stopAll";
    public static final String AI_SCRIPT = "script";
    public static final String AI_ID = "id";
    public static final String AI_NAME = "name";
    /**
     * 消息json key:msgId
     */
    public static final String MSG_ID = "msgId";

    /**
     * 消息json key:smgType
     */
    public static final String MSG_TYPE = "msgType";
    /**
     * AI发送 给哪个 用户
     */
    public static final String MSG_AI_TO_USER = "toUser";
    /**
     * 消息json key:msgTxt
     */
    public static final String MSG_TXT = "msgTxt";

    /**
     * 消息json key:userId
     */
    public static final String MSG_USER_ID = "userId";

    /**
     * 消息类型 heartcheck
     */
    public static final String CMD_CHECK = "heartcheck";

    /**
     * 消息类型 user 用户消息
     */
    public static final String CMD_USER = "user";
    // 自动部署 类型
    public static final String CMD_CD = "cicd";

    /**
     * 消息类型 topic 系统通知
     */
    public static final String CMD_TOPIC = "topic";

    /**
     * 消息类型 email
     */
    public static final String CMD_EMAIL = "email";

    /**
     * 消息类型 meetingsign 会议签到
     */
    public static final String CMD_SIGN = "sign";

    /**
     * 消息类型 新闻发布/取消
     */
    public static final String NEWS_PUBLISH = "publish";

}
